package com.crm.utils;

import java.util.Random;

public class NumbersUtils {
    /**
     * 编号生成
     *
     * @param head
     * @param length
     * @return
     */
    public static String GeneratingNumbers(String head, Integer length) {
        Random random = new Random();
        for (Integer i = 0; i < length; i++) {
            int nextInt = random.nextInt(10);
            String heads = head + nextInt;
            head = heads;
        }
        return head;
    }
}
